ul.tabs
{
    padding: 8px 0;
    font-size: 0;
    margin:0;
    list-style-type: none;
    text-align: center; /*set to left, center, or right to align the tabs as desired*/
    border:1px solid #d8d8d8;
    border-bottom:none;
    background:#a3a3a3;
}
        
ul.tabs li
{
    display: inline;
    margin: 0;
    margin-right:0px; /*distance between tabs*/
}
        
ul.tabs li a
{
    font: normal 12px Verdana;
    text-decoration: none;
    position: relative;
    z-index: 1;
    padding: 8px 20px;
    border: 1px solid #d8d8d8;
    border-right:none;
    color: #000;
    background: #FFF;
    outline:none;
} 

        
ul.tabs li a:visited
{
    color: #000;
}
        
ul.tabs li a:hover
{
     position: relative;
    top: 0px;
    font-weight:bold;
    background: #a3a3a3;
    color:White;
}
        
ul.tabs li.selected a
{
    /*selected tab style */
    position: relative;
    top: 0px;
    font-weight:bold;
    background: #a3a3a3;
    color:White;
}
        
        
ul.tabs li.selected a:hover
{
    /*selected tab style */
    text-decoration: none;
}
        
div.tabcontent
{
    display: block;
}

div.tabcontents
{   
    border-top: 8px solid #d8d8d8;
    padding: 5px;
    background-color:#FFF;
}